@layout("/common/_form.html",{js:["/assets/expand/plugins/jquery/jquery-3.2.1.min.js","/assets/modular/sim/general/security/simApnGprsAlarm.js"]}){

<style>
    .layui-form-label{
        float:left;
        display:block;
        padding:9px 15px;
        width:160px;
        font-weight:400;
        line-height:20px;
        text-align:right
    }
    .layui-input-block {
        margin-left: 190px;
        min-height: 36px;
    }
</style>
<form class="layui-form" id="apnAlarmForm" lay-filter="apnAlarmForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">MSISDN:<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input name="msisdns" type="text" class="layui-input" lay-verify="required|cardNum"/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">操作类型:<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <select id ="operType" name="operType" class="layui-select" lay-filter="operType">
                                <option value="0">0：新增</option>
                                <option value="1">1：取消</option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">APN名称:<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input name="apnName" type="text" class="layui-input" lay-verify="required"/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">APN类型:</label>
                        <div class="layui-input-block">
                            <select id ="apnType" name="apnType" class="layui-select">
                                <option value="0">0：通用</option>
                                <option value="1">1：专用</option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12" style="height:60px">
                        <label class="layui-form-label">告警阈值level1(MB):</label>
                        <div class="layui-input-block">
                            <input id="level1" name="level1" type="text" class="layui-input" lay-verify="required"/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12" style="height:60px">
                        <label class="layui-form-label">告警阈值level2(MB):</label>
                        <div class="layui-input-block">
                            <input id="level2" name="level2" type="text" class="layui-input"/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12" style="height:60px">
                        <label class="layui-form-label">告警阈值level3(MB):</label>
                        <div class="layui-input-block">
                            <input id="level3" name="level3" type="text" class="layui-input"/>
                        </div>
                        <div class="layui-input-block" style="text-align: left">
                            <p>注：操作类型为取消时，三级告警阈值均不填；操作类型为新增时，level1必填，且满足level1&lt;level2&lt;level3</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
    </div>
</form>
@}
